package string;

public class Demo03 {
    public static void main(String[] args) {//双引号创建的叫字符串字面量.
        String s1 = "ABC";
        String s2 = s1;
        s1 += "DEF";
        System.out.println(s1);
        System.out.println(s2);
    }
}
